package com.autumn.util;

/**
 * 事物回滚异常
 * @author Lee
 */
public class DataRollbackException extends SystemException {
    private static final long serialVersionUID = -5692626385572064048L;

    /**
     * 无构造实例化
     */
    public DataRollbackException() {
        super();
    }

    /**
     * 实例化
     *
     * @param message
     *            消息
     */
    public DataRollbackException(String message) {
        super(message);
    }

    /**
     * 实例化
     *
     * @param message
     *            消息
     * @param cause
     *            源异常
     */
    public DataRollbackException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * 实例化
     *
     * @param cause
     *            源异常
     */
    public DataRollbackException(Throwable cause) {
        super(cause);
    }

    /**
     * 实例化
     *
     * @param message
     *            消息
     * @param cause
     *            源异常
     * @param enableSuppression
     * @param writableStackTrace
     *            写入跟踪
     */
    protected DataRollbackException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

}
